package com.gw.booking.dto.wechat;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.List;

public class WOrderDto {

    @ApiModelProperty(value = "商家id", required = true)
    @NotNull
    private Integer merchantId;
    @ApiModelProperty(value = "优惠id")
    private Integer discountId;
    @ApiModelProperty(value = "预约人数", required = true)
    @NotNull
    private Integer orderNum;
    @ApiModelProperty(value = "formIds", required = true)
    @NotNull
    private List<String> formIds;
    @ApiModelProperty(value = "姓名", required = true)
    @NotBlank
    private String name;
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank
    private String phone;
    @ApiModelProperty(value = "备注", required = true)
    private String note;
    @ApiModelProperty(value = "预约时间", required = true)
    private List<OrderTimeDto> orderTimeDtoList;


    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getDiscountId() {
        return discountId;
    }

    public void setDiscountId(Integer discountId) {
        this.discountId = discountId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }


    public List<String> getFormIds() {
        return formIds;
    }

    public void setFormIds(List<String> formIds) {
        this.formIds = formIds;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public List<OrderTimeDto> getOrderTimeDtoList() {
        return orderTimeDtoList;
    }

    public void setOrderTimeDtoList(List<OrderTimeDto> orderTimeDtoList) {
        this.orderTimeDtoList = orderTimeDtoList;
    }
}
